﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cl.Model.Systems.Dictionary
{
    /// <summary>
    /// 字典类（含Childs集合）
    /// </summary>
    public class DictionaryListDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int Key { get; set; }

        /// <summary>
        /// 值
        /// </summary>
        public string Value { get; set; } = string.Empty;

        /// <summary>
        /// 副键
        /// </summary>
        public int ParentId { get; set; }

        /// <summary>
        /// 孩子们
        /// </summary>
        public List<DictionaryListDto>? Childs { get; set; }

    }
}
